package com.bgs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 公告
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Affiche对象", description="公告")
public class Affiche implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公告")
    @TableId(value = "affiche_id", type = IdType.AUTO)
    private Integer afficheId;

    @ApiModelProperty(value = "公告标题")
    private String afficheTitle;

    @ApiModelProperty(value = "公告内容")
    private String afficheText;

    @ApiModelProperty(value = "公告图片")
    private String afficheImg;

    @ApiModelProperty(value = "公告时间")
    private Date afficheCreateTime;

}
